<?php

if( isset($title) )
	echo "<h1>".$title."</h1>";

echo $this->display_flash();

if( !empty($fields) && !empty($options) )
	echo $this->smarty_function( '_form', compact('fields','options') );
else
	echo '<p>Malfunctional</p>';


if( isset($out) )
	echo '<hr/>' . $out;

